﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Survey.Models
{
    public class Template 
    {
        public long Id { get; set; }
        public string Name { get; set; }=string.Empty;
        public string Text { get; set; } = string.Empty;
        public string ImageUrl { get; set; } = string.Empty;
        public string Intro { get; set; } = string.Empty;
        /// <summary>
        /// 模块名称，用以区分模版归属哪个模块
        /// </summary>
        public string? Module { get; set; }
        /// <summary>
        /// 路由匹配时用以响应模版的条件
        /// </summary>
        public string? Url { get; set; }
        public int? IsUsing { get; set; } = 1;
        public int? IsDelete { get; set; } = 0;
    }
}
